package com.ncst.backend.service;
import com.ncst.backend.domain.DrugInfo;
import java.util.List;

/**
 * 药品信息服务接口
 */
public interface DrugInfoService {
    DrugInfo getById(Integer id);
    List<DrugInfo> getAll();
    List<DrugInfo> getByCondition(DrugInfo drugInfo);
    List<DrugInfo> getByPage(Integer pageNum, Integer pageSize);
    Long countAll();
    Long countByCondition(DrugInfo drugInfo);
    boolean save(DrugInfo drugInfo);
    boolean saveBatch(List<DrugInfo> list);
    boolean updateById(DrugInfo drugInfo);
    boolean removeById(Integer id);
    boolean removeByIds(List<Integer> ids);
}
